package com.expdatacloud.service.impl;

import com.expdatacloud.entity.Sku;
import com.expdatacloud.mapper.SkuMapper;
import com.expdatacloud.service.SkuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jie
 * @since 2019-11-20
 */
@Service
public class SkuServiceImpl implements SkuService {

    @Autowired
    private SkuMapper skuMapper;

    @Override
    public Sku getBySkuStorerKey(String sku, String storerKey) {
        return skuMapper.getBySkuStorerKey(sku,storerKey);
    }

    @Override
    public Integer update(String default1, String sku, String storerKey) {
        return skuMapper.update(default1,sku,storerKey);
    }
}
